<?php
namespace GRH\Model;

class PeriodeDetails
{
    public $periode_details_id;
    public $periode_id;
    public $semaine_id;
    
    public function exchangeArray($data)
    {
        $this->periode_details_id   = isset($data['periode_details_id'])    ? $data['periode_details_id']   : null;
        $this->periode_id           = isset($data['periode_id'])            ? $data['periode_id']           : null;
        $this->semaine_id           = isset($data['semaine_id'])            ? $data['semaine_id']           : null;
    }
    
    public function getArrayCopy()
    {
        return get_object_vars($this);
    }
}